package com.huang.design.behavior.state;

public class Test {
    public static void main(String[] args) {
        RNGteam rnGteam = new RNGteam();
        rnGteam.setTeamState(new Vostrategy());
        rnGteam.game();
        //两种方式流转状态  (实际上状态的流转内部自己切换  而非自己传值  )

    //   rnGteam.setTeamState(new Vostrategy().next());
        rnGteam.turnState();

        rnGteam.game();

    }
}
